package com.ruoyi.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 【请填写功能名称】对象 equipment_info
 * 告警状态:
 * 33	1	告警中	1	warn_status
 * 34	2	预警中	2	warn_status
 * 35	3	已处理	3	warn_status
 * 36	4	已忽略	4	warn_status
 * 47	5	正常	    5	warn_status
 *
 * @author ruoyi
 * @date 2020-11-30
 */
@Data
@ToString
public class EquipmentInfo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long equipmentId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentCode;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 告警联系人姓名*/
    @Excel(name = "告警联系人姓名")
    private String emergencyContactName;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String equipmentStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    @Excel(name = "是否忽略告警")
    private Integer isIgnoreWarn;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String equipmentImages;

    private String  equipmentInfo;

    private String equipmentType;
}
